import tp3.geoju.Article;
import tp3.geoju.Commande;
import junit.framework.TestCase;

public class testCommande extends TestCase {

	
	public void testCreateArticle () {
		Article a = new Article ("article 1", 10);
		assertEquals(a.getLibelle(), "article 1");
	}
	
	public void testCreateCommande () {
		Article a = new Article ("article 1", 10);
		Commande c = new Commande (a, 10);
		
		assertEquals(c.getQuantite(), 10);
	}
	
}
